<template>
  <div class="dashboard-container">
    <el-row :gutter="20">
      <el-col :span="17">
        <park-data></park-data>
      </el-col>
      <el-col :span="7">
        <navigation-bar></navigation-bar>
      </el-col>
    </el-row>

    <el-row :gutter="20">
      <el-col :span="17">
        <income-statistics></income-statistics>
      </el-col>
      <el-col :span="7">
        <send-orders></send-orders>
      </el-col>
    </el-row>

    <el-row :gutter="20">
      <el-col :span="17">
        <contract></contract>
      </el-col>
      <el-col :span="7">
        <pie-chart></pie-chart>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import ParkData from '@/views/dashboard/components/ParkData.vue';
import NavigationBar from '@/views/dashboard/components/NavigationBar.vue';
import SendOrders from '@/views/dashboard/components/SendOrders.vue';
import IncomeStatistics from '@/views/dashboard/components/IncomeStatistics.vue';
import Contract from '@/views/dashboard/components/Contract.vue';
import PieChart from '@/views/dashboard/components/PieChart.vue';

export default {
  name: 'Dashboard',
  components: { PieChart, Contract, IncomeStatistics, SendOrders, NavigationBar, ParkData },
};
</script>

<style lang="scss" scoped>
.dashboard-container {
  padding: 15px;

  .el-row {
    margin-bottom: 10px;
  }
}
</style>
